import { createStore } from 'vuex'
import ModuleUser from './user' //随便起个名
import ModulePk from './pk'  //引入pk模块
import ModuleRecord from './record'

export default createStore({
  state: {
  },
  getters: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    user: ModuleUser, //引入user.js为全局变量
    pk: ModulePk,       //引入pk.js
    record: ModuleRecord, //引入record.js页面
  }
})